package com.onenine.app.event;

/**
 * 创建时间：2018/6/6 0006 18:08
 * 创建人：fly
 * 功能描述：是否好友关系事件
 */
public class FriendRelationEvent {

    public static final int QUERY = 0;
    public static final int APPLY = 1;
    public static final int AGREE = 2;
    public static final int REJECT = 3;

    public int operation;
    //是否好友
    public boolean isFriend;

    public FriendRelationEvent(boolean isFriend) {
        operation = QUERY;
        this.isFriend = isFriend;
    }

    public FriendRelationEvent(int operation, boolean isFriend) {
        this.operation = operation;
        this.isFriend = isFriend;
    }

}
